<#include "/layout/_layout.ftl" /><@head title="首页|四眼井|互联网人的乐园 "></@head><@body 2>
<div class="clearfix">
	<div class="breadcrumbs"><i class="icon-home"></i>首页>新闻资讯</div>
	<div class="ui-grid-19">
		<div class="mgl-20">
			<div class="ui-box clearfix">
				<div class="ui-box-title">
					<h3>新闻资讯</h3>
				</div>
				<div class="ui-box-content">
					<#list news.getList() as n>
						<div style="border-bottom: 1px dotted #b0b0b0;padding: 10px">
							<div style="font-size: 16px;font-weight: bold;padding: 5px 0">
								<a href="/news/show/${n.id}">${n.title}</a></div>
							<div style="color: #cccccc">
								<span>
									<a href="${space_url}${n.username}" target="_blank">${n.name}</a>
									发表于${n.subdate[0..10]}
								</span>
								<span style="padding-left: 10px">
									阅(${n.views!0})&nbsp;评(${n.comments!0})
								</span>
							</div>
							<div style="padding-top:5px;color: #808080">
							${n.summary}
							</div>
						</div>
					</#list>
				</div>
				<div>
					<#include "/layout/_paginate.ftl" />
					<@paginate currentPage=news.pageNumber totalPage=news.totalPage
				actionUrl="/news?page=#" urlParas=""/>
				</div>
			</div>
		</div>
	</div>
	<div id="hot_news" class="ui-grid-6"></div>
	<div id="" class="ui-grid-6"></div>
</div>
</@body><@script>
<script>
	$(function () {
		$('#hot_news').load('/news/hot');
	})
</script>
</@script>